import 'package:flutter/material.dart';
import 'app_config.dart';

class ThemeConfig {
  static ThemeData get lightTheme {
    return ThemeData(
      useMaterial3: true,
      colorScheme: ColorScheme.fromSeed(
        seedColor: Color(AppConfig.primaryColor),
        brightness: Brightness.light,
      ),
      appBarTheme: const AppBarTheme(
        centerTitle: true,
        elevation: 0,
      ),
      textTheme: const TextTheme(
        bodyLarge: TextStyle(fontSize: AppConfig.fontSizeLarge),
        bodyMedium: TextStyle(fontSize: AppConfig.fontSizeNormal),
        bodySmall: TextStyle(fontSize: AppConfig.fontSizeSmall),
      ),
    );
  }

  static ThemeData get darkTheme {
    return ThemeData(
      useMaterial3: true,
      colorScheme: ColorScheme.fromSeed(
        seedColor: Color(AppConfig.primaryColor),
        brightness: Brightness.dark,
      ),
      appBarTheme: const AppBarTheme(
        centerTitle: true,
        elevation: 0,
      ),
      textTheme: const TextTheme(
        bodyLarge: TextStyle(fontSize: AppConfig.fontSizeLarge),
        bodyMedium: TextStyle(fontSize: AppConfig.fontSizeNormal),
        bodySmall: TextStyle(fontSize: AppConfig.fontSizeSmall),
      ),
    );
  }
} 